import './AIInstruction.scss'

export const AIInstruction = () => {
    const AIType = {
        // 前端指令
        A01: '进入',
        A02: '打开',
        A03: '关闭',
        // 后端指令
        B01: '展开',
        B02: '收起',
        B03: '查看',
    }

    const onTypeSelect = () => {}

    return (
        <div className="AIInstruction">
            <div>
                {Object.keys(AIType).map(item => (
                    <div key={item} onClick={() => onTypeSelect(item)}>
                        {AIType[item]}
                    </div>
                ))}
            </div>
            <div>指令</div>
        </div>
    )
}
